package org.logMonitor.dto;

import java.util.Arrays;

/**
 * Created by lenovo on 2018/1/21.
 */
public class CityLngLat {
    String cityName;    //城市名称
    Double cityLngLat[];  //城市坐标，格式：[120.4651,36.3373]

    public CityLngLat() {
    }

    public CityLngLat(String cityName, Double[] cityLngLat) {
        this.cityName = cityName;
        this.cityLngLat = cityLngLat;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Double[] getCityLngLat() {
        return cityLngLat;
    }

    public void setCityLngLat(Double[] cityLngLat) {
        this.cityLngLat = cityLngLat;
    }

    @Override
    public String toString() {
        return "CityLngLat{" +
                "cityName='" + cityName + '\'' +
                ", cityLngLat=" + Arrays.toString(cityLngLat) +
                '}';
    }
}
